package com.customer.crm.system.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_system_dict_type")
@Alias("dictTypePojo")
public class Dict_Type_Pojo {
    private String id;
    @TableField("sortNum")
    private Integer sortNum;
    @TableLogic(value = "1",delval = "0")
    private Integer status;
    @TableField("typeCode")
    private String typeCode;
    @TableField("typeName")
    private String typeName;
    @TableField("typeNote")
    private String typeNote;
    @TableField("version")
    private Integer version;
    @TableField("createBy")
    private String createBy;
    @TableField("updateBy")
    private String updateBy;
    @TableField(value="updateTime",fill = FieldFill.UPDATE)
    private String updateTime;
    @TableField(value = "createTime",fill = FieldFill.INSERT)
    private LocalDateTime createTime;
}
